package com.jinmdz.fmis.generator.model;


/**
 * TableInfo
 *
 * @author LiCongLu
 * @date 2019-12-16 13:09
 */
public class TableInfo implements Comparable<TableInfo> {

    /**
     * 实例名
     */
    private String tableSchema;
    /**
     * 表名
     */
    private String tableName;
    /**
     * 表注释
     */
    private String tableComment;

    public String getTableSchema() {
        return tableSchema;
    }

    public TableInfo setTableSchema(String tableSchema) {
        this.tableSchema = tableSchema;
        return this;
    }

    public String getTableName() {
        return tableName;
    }

    public TableInfo setTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    public String getTableComment() {
        return tableComment;
    }

    public TableInfo setTableComment(String tableComment) {
        this.tableComment = tableComment;
        return this;
    }

    @Override
    public int compareTo(TableInfo o) {
        return this.tableName.compareTo(o.tableName);
    }
}
